all: OsgProject

APP_NAME=	OsgProject

# Basic options.
srcdir=		.
SRCS=		CArbre.cpp CArm.cpp Chud.cpp CSkyBox.cpp CJoueur.cpp CMapNode.cpp CBombManager.cpp CObject3d.cpp CShader.cpp CFrameBufferObject.cpp CLogon.cpp CSnowGenerator.cpp CDeviceManager.cpp CButton.cpp OsgProject.cpp main.cpp

DZR_BASE_DIR=	$(shell flagpoll doozer --get-prefix)
include $(DZR_BASE_DIR)/ext/vrjuggler/dzr.vrjuggler.mk
include $(DZR_BASE_DIR)/ext/vrjuggler/dzr.vrjuggler.glapp.mk

EXTRA_INCLUDES+=	-I$(OSGHOME)/include
EXTRA_LIBS+=		-L$(OSGHOME)/lib -losg -losgDB -losgGA -losgUtil -lOpenThreads -lGLEW -losgText

# -----------------------------------------------------------------------------
# Application build targets.
# -----------------------------------------------------------------------------
all:
	$(MAKE) $(APP_NAME)

OsgProject: $(OBJS)
	$(LINK) $(LINK_OUT)$@ $(OBJS) $(EXTRA_LIBS) $(LIBS)